package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.RProInvoiceRecd;

public class ReceiptInfoActivity extends SingleFragmentActivity {

  //	private ReceiptDetailListFragment mReceiptDetailListFragment;

  //    private int[] mTitleId = {R.string.receiptInfo,
  //            R.string.receiptDetail};

  @Override protected Fragment createFragment() {
    RProInvoiceRecd mDetail =
        (RProInvoiceRecd) getIntent().getSerializableExtra(ReceiptInfoFragment.EXTRA_RECEIPT);
    return ReceiptInfoFragment.newInstance(mDetail);
  }

  //	@Override
  //	protected Fragment createFragmentTwo() {
  //		mReceiptDetailListFragment= ReceiptDetailListFragment.newInstance(mDetail);
  //		return mReceiptDetailListFragment;
  //	}

  //	@Override
  //	public void  onRefresh (Double salestax, Double salesMoney,Double sumMoney) {
  //
  //		setNavigateTo(0);
  //		mReceiptInfoFragment.updateSalesTaxMoney(salestax,salesMoney,sumMoney);
  //	}

  //	@Override
  //	public void skip() {
  //		setNavigateTo(1);
  //
  //	}
}
